//
//  PageControllerFooterMore.m
//  XQPageControllerDemo
//
//  Created by Ticsmatic on 2017/7/21.
//  Copyright © 2017年 Ticsmatic. All rights reserved.
//

#import "YXLMainPageControllerFooterMore.h"
#import "YXLProduceListViewController.h"

@interface YXLMainPageControllerFooterMore ()
@property (nonatomic, strong) YXLProduceListViewController *vc1;
@property (nonatomic, strong) YXLProduceListViewController *vc2;
@property (nonatomic, strong) YXLProduceListViewController *vc3;
@property (nonatomic, strong) YXLProduceListViewController *vc4;
@end

@implementation YXLMainPageControllerFooterMore

- (void)viewDidLoad {
//    self.slideBarCustom = YES;
//    // 等宽
//    self.slideBar.isUnifyWidth = YES;
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

//#pragma mark - ScrollPageViewControllerProtocol
//
//- (NSArray *)arrayForControllerTitles {
//    return @[@"新人专区", @"热购中", @"今日预购", @"今日历史"];
//}
//
//- (UIViewController *)viewcontrollerWithIndex:(NSInteger)index {
//    if (index <0 || index > self.arrayForControllerTitles.count) return nil;
//    if (index == 0) {
//        return self.vc1;
//    } else if (index == 1) {
//        return self.vc2;
//    } else if (index == 2) {
//        return self.vc3;
//    }else if (index == 3) {
//        return self.vc4;
//    }
//    return nil;
//}
//
//#pragma mark - Getter
//
//- (YXLProduceListViewController *)vc1 {
//    if (_vc1 == nil) {
//        _vc1 = [[YXLProduceListViewController alloc] init];
//        //_vc1.testContent = @"分时页面";
//    }
//    return _vc1;
//}
//
//- (YXLProduceListViewController *)vc2 {
//    if (_vc2 == nil) {
//        _vc2 = [[YXLProduceListViewController alloc] init];
//        //_vc2.testContent = @"日K页面";
//    }
//    return _vc2;
//}
//
//- (YXLProduceListViewController *)vc3 {
//    if (_vc3 == nil) {
//        _vc3 = [[YXLProduceListViewController alloc] init];
//        //_vc3.testContent = @"周K页面";
//    }
//    return _vc3;
//}
//- (YXLProduceListViewController *)vc4 {
//    if (_vc4 == nil) {
//        _vc4 = [[YXLProduceListViewController alloc] init];
//        //_vc3.testContent = @"周K页面";
//    }
//    return _vc4;
//}
@end
